//package com;
//
//import java.awt.BorderLayout;
//
//import javax.swing.JFrame;
//import javax.swing.JTextField;
//import javax.swing.WindowConstants;
//
//import org.cef.CefApp;
//import org.cef.CefClient;
//import org.cef.CefSettings;
//import org.cef.browser.CefBrowser;
//import org.cef.browser.CefMessageRouter;
//
//
//
//
//public class HtmlView {
//	   private static final String URL = "https://teamdev.com";
//	    private static final boolean OFFSCREEN = false;
//	    private static final boolean TRANSPARENT = false;
//	    
//	public static void main(String[] args) {
//
//	        CefSettings settings = new CefSettings();
//	        settings.windowless_rendering_enabled = OFFSCREEN;
//	        CefApp cefApp = CefApp.getInstance(settings);
//	        CefClient client = cefApp.createClient();
//	        client.addMessageRouter(CefMessageRouter.create());
//	        CefBrowser browser = client.createBrowser(URL, OFFSCREEN, TRANSPARENT);
//
//	        JTextField address = new JTextField(URL);
//	        address.addActionListener(e -> browser.loadURL(address.getText()));
//
//	        JFrame frame = new JFrame("JCEF");
//	        frame.add(address, BorderLayout.NORTH);
//	        frame.add(browser.getUIComponent(), BorderLayout.CENTER);
//	        frame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
//	        frame.setSize(1280, 900);
//	        frame.setVisible(true);
//	}
//}
